package com.huge.simple.common.response;

/**
 * @author jihu
 * date 2022-03-28
 */
public enum  HttpCode {

    /**成功*/
    SUCCESS(200),
    /**服务器错误*/
    ERROR(500),
    /**不存在**/
    NO_FOUND(404),
    /**未登录**/
    NO_LOGIN(10001),
    /**无权限**/
    NO_AUTH(10002);

    private Integer code;

    HttpCode(Integer code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }


}
